namespace ext.menu
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>Adds a static text string to a menu, usually used as either a heading or group separator.</summary>
	/// <definedin>src\widgets\menu\TextItem.js</definedin>
	[ScriptName("TextItem")]
	[ScriptNamespace("Ext.menu")]
	[Imported()]
	public partial class TextItem : ext.menu.BaseItem
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		/// <param name="config">
		/// If config is a string, it is used as the text to display, otherwise it
		/// is applied as a config object (and should contain a &lt;tt&gt;text&lt;/tt&gt; property).
		/// </param>
		public TextItem(ext.menu.TextItem_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		/// <param name="config">
		/// If config is a string, it is used as the text to display, otherwise it
		/// is applied as a config object (and should contain a &lt;tt&gt;text&lt;/tt&gt; property).
		/// </param>
		public TextItem(string config)
		{
		}
		
		/// <summary>Constructor</summary>
		public TextItem()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>The text to display for this item (defaults to &apos;&apos;)</summary>
		/// <definedin>src\widgets\menu\TextItem.js</definedin>
		[ScriptName("text")]
		public string Text;
		
		/// <summary>True to hide the containing menu after this item is clicked (defaults to false)</summary>
		/// <definedin>src\widgets\menu\TextItem.js</definedin>
		[ScriptName("hideOnClick")]
		public bool HideOnClick;
		
		/// <summary>The default CSS class to use for text items (defaults to &quot;x-menu-text&quot;)</summary>
		/// <definedin>src\widgets\menu\TextItem.js</definedin>
		[ScriptName("itemCls")]
		public string ItemCls;
		#endregion
	}
}
